#include <iostream>
using namespace std;
class Square
{
	friend class Rectangle;
private:
	int side;
public:
	Square(int a) :side(a){}
};
class Rectangle
{
	int width;
	int height;
public:
	int area();
	void convert(Square a);
};